package o;

import java.util.HashMap;

public class esd {
    private static HashMap<String, Class> ˊ = new HashMap();

    public static <T extends esb> void ˋ(Class<T> cls) {
        ˊ.put(cls.getSimpleName(), cls);
    }

    public static <T extends esb> esb ˊ(Class<T> cls) {
        Class cls2 = (Class) ˊ.get(cls.getSimpleName());
        if (cls2 == null) {
            return null;
        }
        try {
            return (esb) cls2.newInstance();
        } catch (InstantiationException e) {
            Logger.ˋ("OperationDataHandlerFactory", "getHandlerInstance InstantiationException : " + e.toString());
            return null;
        } catch (IllegalAccessException e2) {
            Logger.ˋ("OperationDataHandlerFactory", "getHandlerInstance IllegalAccessException : " + e2.toString());
            return null;
        }
    }
}
